<if condition="CONTROLLER_NAME neq 'Login'">
    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
        <style type="text/css">
        .main {max-width: 750px; margin: 0 auto;}
        .bg {margin-top: 100px;}
        .bg img {width: 100%; height: auto;}
        p {text-align: center; margin-top: 2em; font-size: 1.6em; color: #999;}
        a {font-size: 1.2rem; text-decoration: none; padding: 0.5em 1em; border: 2px solid #01ACCA; color: #01ACCA; border-radius: 5px;}
        </style>
    </head>
    <body>
        <div class="main">
            <div class="bg"><img src="__TMPL__Public/img/404.jpg" /></div>
            <!-- <p>您所访问的页面不存在</p> -->
            <p><?php echo($error); ?></p>
        </div>
    </body>
    </html>
<else/>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
            "http://www.w3.org/TR/html4/loose.dtd">
    <!--[if IE 8]>
    <html lang="en" class="ie8"> <![endif]-->
    <!--[if IE 9]>
    <html lang="en" class="ie9"> <![endif]-->
    <!--[if !IE]><!-->
    <html lang="en"> <!--<![endif]-->
    <!-- BEGIN HEAD -->
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>跳转提示</title>
        <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
        <meta content="" name="description"/>
        <meta content="" name="author"/>
        <!-- BEGIN GLOBAL MANDATORY STYLES -->
        <link href="__TMPL__Public/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
        <link href="__TMPL__Public/plugins/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>
        <link href="__TMPL__Public/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
        <link href="__TMPL__Public/css/style-metro.css" rel="stylesheet" type="text/css"/>
        <link href="__TMPL__Public/css/style.css" rel="stylesheet" type="text/css"/>
        <link href="__TMPL__Public/css/style-responsive.css" rel="stylesheet" type="text/css"/>
        <link href="__TMPL__Public/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
        <link href="__TMPL__Public/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
        <!-- END GLOBAL MANDATORY STYLES -->
        <!-- BEGIN PAGE LEVEL STYLES -->
        <link href="__TMPL__Public/css/pages/error.css" rel="stylesheet" type="text/css"/>
        <!-- END PAGE LEVEL STYLES -->
        <link rel="shortcut icon" href="favicon.ico"/>
    </head>
    <!-- END HEAD -->
    <!-- BEGIN BODY -->
    <body class="page-404-full-page">
    <div class="row-fluid">
        <div class="span12 page-404">
            <div class="number">
                Error
            </div>
            <div class="details">
                <h3><?php echo($message); ?></h3>

                <p>
                    <?php echo($error); ?>
                </p>

                <p>
                    页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间： <b
                        id="wait"><?php echo($waitSecond); ?></b>
                </p>
            </div>
        </div>
    </div>
    <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
    <!-- BEGIN CORE PLUGINS -->
    <script src="__TMPL__Public/plugins/jquery-1.10.1.min.js" type="text/javascript"></script>
    <script src="__TMPL__Public/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <!--[if lt IE 9]>
    <script src="__TMPL__Public/plugins/excanvas.js"></script>
    <script src="__TMPL__Public/plugins/respond.js"></script>
    <![endif]-->
    <script src="__TMPL__Public/plugins/breakpoints/breakpoints.js" type="text/javascript"></script>
    <script src="__TMPL__Public/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
    <!-- END CORE PLUGINS -->
    <script src="__TMPL__Public/scripts/app.js"></script>
    <script>
        jQuery(document).ready(function () {
            App.init();
        });
    </script>
    <script type="text/javascript">
        (function () {
            var wait = document.getElementById('wait'), href = document.getElementById('href').href;
            var interval = setInterval(function () {
                var time = --wait.innerHTML;
                if (time <= 0) {
                    location.href = href;
                    clearInterval(interval);
                }
            }, 1000);
        })();
    </script>
    <!-- END JAVASCRIPTS -->
    </body>
    <!-- END BODY -->
    </html>
</if>